package com.bh.shipment.mapper;

import com.bh.common.basemapper.RootMapper;
import com.bh.shipment.domain.JcShipmentTemplate;

import java.util.List;

/**
 * 运单模板Mapper接口
 * 
 * @author slx
 * @date 2023-12-17
 */
public interface JcShipmentTemplateMapper extends RootMapper<JcShipmentTemplate>
{
    /**
     * 查询运单模板
     * 
     * @param id 运单模板主键
     * @return 运单模板
     */
    public JcShipmentTemplate selectJcShipmentTemplateById(Long id);

    /**
     * 查询运单模板
     *
     * @param code 运单模板编码
     * @return 运单模板
     */
    public JcShipmentTemplate selectJcShipmentTemplateByCode(String code);

    /**
     * 查询运单模板列表
     * 
     * @param jcShipmentTemplate 运单模板
     * @return 运单模板集合
     */
    public List<JcShipmentTemplate> selectJcShipmentTemplateList(JcShipmentTemplate jcShipmentTemplate);
}
